package com.benben.springSecurity.responsibilityChain;

public abstract class Handler {

    public static enum type  {cat,dog,pig}

    private Handler nextHandler;


    public Handler getNextHandler() {
        return nextHandler;
    }

    public void setNextHandler(Handler nextHandler) {
        this.nextHandler = nextHandler;
    }

    public abstract String optionMessage(String flag);
}
